package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.util.List;

/**
 * Created by mlli on 2017/11/25.
 */

public class WoWorkType extends Response{

    

    private String message;
    private boolean result;
    private List<WoType> list;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public List<WoType> getList() {
        return list;
    }

    public void setList(List<WoType> list) {
        this.list = list;
    }

    @DatabaseTable
    public static class WoType {
        /**
         * enterpriseCode : pmone_mnlx2
         * id : 1
         * typeCode : 1
         * typeName : 现场管理
         */

        @DatabaseField
        private String enterpriseCode;
        @DatabaseField(id = true)
        private String id;
        @DatabaseField
        private String typeCode;
        @DatabaseField
        private String typeName;

        public String getEnterpriseCode() {
            return enterpriseCode;
        }

        public void setEnterpriseCode(String enterpriseCode) {
            this.enterpriseCode = enterpriseCode;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTypeCode() {
            return typeCode;
        }

        public void setTypeCode(String typeCode) {
            this.typeCode = typeCode;
        }

        public String getTypeName() {
            return typeName;
        }

        public void setTypeName(String typeName) {
            this.typeName = typeName;
        }
    }
}
